import * as Request from "../utils/Request";
/** Donors start **/
// donor列表
export function donorList(data: any) {
  return Request.post("/api/fore/donor/list", data);
}
// donor新增
export function donorAdd(data: any) {
  return Request.post("/api/fore/donor/add", data);
}
// 编辑
export function donorEdit(data: any) {
  return Request.post("/api/fore/donor/edit", data);
}
// DELETE 删除
export function donorDelete(data: any) {
  return Request.del("/api/fore/donor/delete", data);
}
/** Donors end **/

/** Donations start **/
// donations 列表
export function donationsList(data: any) {
  return Request.post("/api/fore/donor/donations/list", data);
}
// donation创建
export function donationsAdd(data: any) {
  return Request.post("/api/fore/donor/donations/add", data);
}
// donations result删除
export function donationsDelete(data: any) {
  return Request.del("/api/fore/donor/donations/delete", data);
}
/** Donations end **/

/** donation result start **/
// donation result 列表
export function donationResultList(data: any) {
  return Request.post("/api/fore/donor/donation/result/list", data);
}
// donations result删除
export function donationsResultDelete(data: any) {
  return Request.del("/api/fore/donor/donations/result/delete", data);
}

/** donation result end **/